package ltd.newbee.mall.entity;

import lombok.Data;

import java.util.Date;
import java.util.StringJoiner;

/**
 * 订单详情
 */
@Data
public class NewBeeMallOrderItem {
    /**
     * 订单关联购物项主键id
     */
    private Long orderItemId;
    /**
     *订单主键id
     */
    private Long orderId;
    /**
     *秒杀商品ID
     */
//    private Long seckillId;
    /**
     *关联商品id
     */
    private Long goodsId;
    /**
     *下单时商品的名称(订单快照)
     */
    private String goodsName;
    /**
     *下单时商品的主图(订单快照)
     */
    private String goodsCoverImg;
    /**
     *下单时商品的价格(订单快照)
     */
    private Integer sellingPrice;
    /**
     *数量(订单快照)
     */
    private Integer goodsCount;
    /**
     *创建时间
     */
    private Date createTime;

}
